package com.zzx.boot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzx.boot.entity.Buddy;
import com.zzx.boot.entity.vo.UserInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BuddyMapper extends BaseMapper<Buddy> {

    List<UserInfoVo> getShowBuddyList(@Param("userId") Long userId);

    Boolean addShowBuddy(@Param("userId") Long userId,@Param("buddyId") Long buddyId);
}
